package com.wechat.back.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
@Data
@Accessors(chain = true)
@TableName("operation_log")
public class OperationLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String optModule;
    private String optUri;
    private String optType;
    private String optMethod;
    private String optDesc;
    private String requestMethod;
    private String requestParam;
    private String responseData;
    private Integer userId;
    private String nickname;
    private String ipAddress;
    private String ipSource;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}
